package com.lyq.demo.redis.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author lyq
 * @time 2019/5/11 21:00
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MsgListener {
    String value() default "";
    String topic();
}
